<?php
header ( 'Content-type: text/html; charset=utf-8' );
error_reporting ( E_ALL ^ E_NOTICE );
ini_set ( 'display_errors', '1' );
// error_reporting(0);
$root = dirname ( __FILE__ );

// remove the following lines when in production mode
defined ( 'YII_DEBUG' ) or define ( 'YII_DEBUG', true );
// specify how many levels of call stack should be shown in each log message
defined ( 'YII_TRACE_LEVEL' ) or define ( 'YII_TRACE_LEVEL', 3 );

require ('../../library/yii/framework/yii.php');
require ($root . '/protected/lib/firephp/fb.php');
require ($root . '/protected/lib/tools.php');

Yii::createWebApplication ( $root . '/protected/config/main.php' )->run ();
